package com.ydkj.a37e_mall.Classes.Acitivity.BaseActivity;

import android.graphics.Bitmap;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.FragmentActivity;

import com.loopj.android.http.RequestParams;
import com.nostra13.universalimageloader.core.DisplayImageOptions;
import com.ydkj.a37e_mall.R;

/**
 * Created by Administrator on 2017/1/4.
 */

public class BaseActivity extends FragmentActivity {
    public static String ssss = "ssss";
    public static String secret;
    public static final int LOAD = 0;// 加载
    public static final int REFRESH = 1;// 刷新
    public static final int MORE = 2;// 更多
    public static int page;
    public static final String Networkfailure = "网络连接失败";// 更多


    public static RequestParams params;
    DisplayImageOptions displayImageOptions = new DisplayImageOptions.Builder().showImageOnLoading(R.mipmap.loader)
            .showImageForEmptyUri(R.mipmap.loader).showImageOnFail(R.mipmap.loader).cacheInMemory(true).cacheOnDisk(true)
            .considerExifParams(true).bitmapConfig(Bitmap.Config.RGB_565).build();

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        params = new RequestParams();
    }
}
